<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:cc="http://java.sun.com/jsf/composite">

	<!-- INTERFACE -->
	<cc:interface>
		<cc:attribute name="managedBean" required="true" type="org.cardoso.web.jsf.ManagedBeanBase" />
		<cc:attribute name="update" required="true" type="java.lang.String" />
	</cc:interface>
	
	<!-- IMPLEMENTATION -->
	<cc:implementation>
	
		<p:confirmDialog id="confirmDialogRemove" header="#{bundle.confirm_message_remove_title}" 
						 message="#{bundle.confirm_message_remove}"  
		                 severity="alert" widgetVar="confirmationRemove">  
		        <p:commandButton id="confirm" value="#{bundle.label_yes}" oncomplete="#{cc.attrs.managedBean.oncompleteRemove}" update="#{cc.attrs.update}, confirmDialogRemove" 
		        				 actionListener="#{cc.attrs.managedBean.remove}" />  
		        <p:commandButton id="decline" value="#{bundle.label_no}" onclick="confirmationRemove.hide()" type="button" />   
		</p:confirmDialog> 
	
	</cc:implementation>
</html>